//package com.myidis.controller;
//
//import com.myidis.entity.AnalysisIndex;
//import com.myidis.entity.IndexCombination;
//import com.myidis.request.SearchReq;
//import com.myidis.servlet.CompositeIndexCalculateServlet;
//import com.myidis.servlet.IndexCombinationServlet;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import java.util.List;
//
//@Controller
//@RequestMapping("/CompositeIndexCalculate")
//public class CompositeIndexCalculateController {
//    @Autowired
//    private CompositeIndexCalculateServlet compositeIndexCalculateServlet;
//
//    @ResponseBody
//    @RequestMapping("/list")
//    public List<AnalysisIndex> list(@RequestBody SearchReq list){
//        return compositeIndexCalculateServlet.getOne(list.getCondition());
//    }
//
////    @ResponseBody
////    @RequestMapping("/calculate")
////    public int add(@RequestBody IndexCombination add){
////        return compositeIndexCalculateServlet.add(add);
////    }
////
////    @ResponseBody
////    @RequestMapping("/cha")
////    public int upd(@RequestBody IndexCombination upd){
////        return compositeIndexCalculateServlet.update(upd);
////    }
//
////    @ResponseBody
////    @RequestMapping("/del")
////    public int del(@RequestBody IndexCombination del){
////        return compositeIndexCalculateServlet.delete(del);
////    }
//}
